package com.wilschrader.demarche.units;

import com.wilschrader.demarche.Unit;

/**
 * A destroyer is an efficient fighter killing machine.
 * 
 * @author Wil Schrader
 * @modifications
 * 	08152011	Updates for the unified unit class.
 * 
 */
public class Destroyer extends Unit {

	public Destroyer(int cost, int combatValue, int afbCombatValue, int afbShots) {
		super(Unit.Type.Destroyer, cost, new int[]{combatValue, afbCombatValue}, new int[]{1, afbShots}, 0, false);
	}
	
	@Override
	public Destroyer clone() throws CloneNotSupportedException {
		return new Destroyer(cost, combatValue[0], combatValue[1], shotCount[1]);
	}

}
